package com.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.pojo.pms.Pms_Attr_Attrgroup_Relation;
import com.shop.vo.SpuItemAttrGroupVo;
import com.shop.vo.skuGroupVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//属性分组中间表
public interface Pms_Attr_AttrGroup_Relation_Mapper extends BaseMapper<Pms_Attr_Attrgroup_Relation> {

    //自定义根据商品分类和spu查询分组属性
    public List<skuGroupVo> getAttrGroupWithAttrsBySpuId(@Param("catalogId") Long catalogId, @Param("spuId") Long spuId);

}
